package cate.game.rank.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBRank;
import easy.java.dev.note.NoteField;

import java.util.Map;

@ClientMsg(title = "排行榜数据 的返回")
public class RankDataResp implements MsgOutput {
    @NoteField(value = "排行榜数据 Map<rankId, 第一名数据> ，如果榜单是空的，就没有数据")
    public Map<Integer, Object> data;

    public RankDataResp(){

    }

    public RankDataResp(Map<Integer, Object> data) {
        this.data = data;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBRank.DATA_RESP;
    }
}
